/*
 * TCSS 422 Web Spider Project
 * Group Money: Al McKenzie, Michael Pitts, Taylor Zielske
 */
package model.domain;

import model.URLInputCooker;

/**
 * This domain is a place holder for a domain that has indicated it is to not be
 * searched by a web spider.  It does not store or send any urls.
 * 
 * @author Michael Pitts
 * @version Oct 18, 2011
 */
public final class BlockDomain extends AbstractDomain {

	/**
	 * Creates a new Blocked Domain, which is to not be searched.
	 * @param the_domain is the string representation of the domain.
	 * @param the_cooker may be null, it will never be used.
	 */
	public BlockDomain(final String the_domain, final URLInputCooker the_cooker) {
		super(the_domain, the_cooker);
	}

	/**
	 * May be called but will do nothing, this domain is to never be searched.
	 */
	@Override public void addURL(final String the_url) {
		// Do nothing, no urls for this domain are ever to be parsed.
	}
}
